package com.edu.demo.dao;


import com.edu.demo.entity.UserBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @author XYH
 * date 2024-03-08
 */
@Mapper
public interface IUserLoginDao {
    @Select("SELECT * FROM users WHERE username = #{username} AND password = #{password}")
    UserBean selectUserByNameAndPass(UserBean userBean);
}
